package com.petot.claude.gwt.example.shared.proxy;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.petot.claude.gwt.example.server.model.Person;
import com.petot.claude.gwt.example.server.service.PersonService;

@ProxyFor( value = Person.class, locator = PersonService.class )
public interface PersonProxy extends EntityProxy {

    Long getId();

    void setId( Long pId );

    String getFirstName();

    void setFirstName( String pFirstName );

    String getLastName();

    void setLastName( String pLastName );

    int getAge();

    void setAge( int pAge );

    AddressProxy getAddress();

    void setAddress( AddressProxy pAddress );

}